package com.moyangfenghun.javabase.model;

import lombok.Data;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;

/**
 * 角色 实体类。
 *
 * @author yt
 * @since 0.0.1
 */
@Data
@Table(value = "role")
public class RoleEntity {

    /**
     * id
     */
    @Id(keyType = KeyType.Auto)
    private Integer id;

    /**
     * 角色名
     */
    @Column(value = "role_name")
    private String roleName;


}
